home *** CD-ROM | disk | FTP | other *** search
- Path: softsite.co.at!wsog
- Date: 24 Jan 1996 20:29:00 +0200
- From: wsog@softsite.co.at (Walter Sommergruber)
- Newsgroups: comp.lang.c
- Message-ID: <61VnNPt6nTB@softsite.co.at>
- Subject: localtime
- X-Newsreader: XP v3.02
- X-Charset: ISO-8859-1
- Organization: Sommergruber Software & Dienstleistungen
-
-
- In ANSI C the function localtime returns a pointer to a struct tm.
- The documentation of my compiler says
- "tm.tm_year = Year (current year minus 1900)"
-
- Is this defined behaviour ?
- Can I assume "tm_year+1900 = real year" will work also after the
- year 2000 ? Or is this compiler dependend ?
-
- --- Take a look at ...
- Walter Sommergruber The Software Site
- email: wsog@softsite.co.at http://www.softsite.co.at/softsite/
-